last
Type
keyword
Summary
Specifies the last member of a set of objects or the last chunk of a string.
Syntax
last
Description
The last keyword can be used to specify any object whose number property is equal to the number of objects of that type. It can also be used to designate the last chunk in a chunk expression.
The last control is the topmost control on a card. The last button is the topmost button, and similarly for other types of controls.
The word the is optional when using the last keyword.
A reference to the last of a string, with no chunk type specified, yields the entire string.
Examples
put the ID of last card into tStoppingPoint
put the last line of it after field "Answers"
Related
keyword: seventh, previous, home, ninth, string
function: number
glossary: object, keyword, property, chunk expression, chunk
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile